﻿using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace QuoteCenter.DataContract
{
    [DataContract()]
    public class Order
    {
        private string _orderNo;
        [DataMember]
        public string OrderNo
        {
            get { return _orderNo; }
            set { _orderNo = value; }
        }
        private DateTime _orderDate;
        [DataMember]
        public System.DateTime OrderDate
        {
            get { return _orderDate; }
            set { _orderDate = value; }
        }
        private decimal _memberId;
        [DataMember]
        public decimal MemberId
        {
            get { return _memberId; }
            set { _memberId = value; }
        }
        private decimal _accountId;
        [DataMember]
        public decimal AccountId
        {
            get { return _accountId; }
            set { _accountId = value; }
        }

        private int _quoteId;
        [DataMember]
        public int QuoteId
        {
            get { return _quoteId; }
            set { _quoteId = value; }
        }
        private int _priority;
        [DataMember]
        public int Priority
        {
            get { return _priority; }
            set { _priority = value; }
        }
        private int _orderType;
        [DataMember]
        public int OrderType
        {
            get { return _orderType; }
            set { _orderType = value; }
        }
        private int _orderSide;
        [DataMember]
        public int OrderSide
        {
            get { return _orderSide; }
            set { _orderSide = value; }
        }
        private int _orderClass;
        [DataMember]
        public int OrderClass
        {
            get { return _orderClass; }
            set { _orderClass = value; }
        }
        private int _status;
        [DataMember]
        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        private long _price;
        [DataMember]
        public long Price
        {
            get { return _price; }
            set { _price = value; }
        }
        private long _quantity;
        [DataMember]
        public long Quantity
        {
            get { return _quantity; }
            set { _quantity = value; }
        }
        private long _fee;
        [DataMember]
        public long Fee
        {
            get { return _fee; }
            set { _fee = value; }
        }
        private long _cancel;
        [DataMember]
        public long Cancel
        {
            get { return _cancel; }
            set { _cancel = value; }
        }
        private long _matched;
        [DataMember]
        public long Matched
        {
            get { return _matched; }
            set { _matched = value; }
        }
        private long _remain;
        [DataMember]
        public long Remain
        {
            get { return _remain; }
            set { _remain = value; }
        }
        private string _rejectReason;
        [DataMember]
        public string RejectReason
        {
            get { return _rejectReason; }
            set { _rejectReason = value; }
        }
        private long _quotePrice;
        [DataMember]
        public long QuotePrice
        {
            get { return _quotePrice; }
            set { _quotePrice = value; }
        }
        private long _quoteQtty;
        [DataMember]
        public long QuoteQtty
        {
            get { return _quoteQtty; }
            set { _quoteQtty = value; }
        }
        private DateTime _quoteTime;
        [DataMember]
        public System.DateTime QuoteTime
        {
            get { return _quoteTime; }
            set { _quoteTime = value; }
        }

        private string _brokerId;
        [DataMember]
        public string BrokerId
        {
            get { return _brokerId; }
            set { _brokerId = value; }
        }
        private string _telephone;
        [DataMember]
        public string Telephone
        {
            get { return _telephone; }
            set { _telephone = value; }
        }
        private string _sessionNo;
        [DataMember]
        public string SessionNo
        {
            get { return _sessionNo; }
            set { _sessionNo = value; }
        }
        private DateTime _settleDay;
        [DataMember]
        public System.DateTime SettleDay
        {
            get { return _settleDay; }
            set { _settleDay = value; }
        }
    }
}
